home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Development Tools & Languages / Macintosh Common Lisp Related / Scheme FAQ 13Sept94 / scheme_1.faq < prev    next >
Encoding:
Internet Message Format  |  1994-09-15  |  52.1 KB  |  [TEXT/ttxt]

  1. Subject: FAQ: Scheme Frequently Asked Questions 1/2 [Monthly posting]
  2. Newsgroups: comp.lang.scheme,comp.lang.lisp,news.answers,comp.answers
  3. Summary: 
  4. Distribution: world
  5. Followup-To: poster
  6. Reply-To: ai+lisp-faq@cs.cmu.edu
  7. Approved: news-answers-request@MIT.Edu
  8.  
  9. Archive-name: scheme-faq/part1
  10. Last-Modified: Tue Sep 13 18:07:15 1994 by Mark Kantrowitz
  11. Version: 1.18
  12. Maintainer: Mark Kantrowitz and Barry Margolin <ai+lisp-faq@cs.cmu.edu>
  13. URL: http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs/lang/scheme/top.html
  14. Size: 53315 bytes, 1088 lines
  15.  
  16. ;;; ****************************************************************
  17. ;;; Answers to Frequently Asked Questions about Scheme *************
  18. ;;; ****************************************************************
  19. ;;; Written by Mark Kantrowitz and Barry Margolin
  20. ;;; scheme_1.faq 
  21.  
  22. This post contains part 1 of the Scheme FAQ.
  23.  
  24. If you think of questions that are appropriate for this FAQ, or would
  25. like to improve an answer, please send email to us at ai+lisp-faq@cs.cmu.edu.
  26.  
  27. Note that the lisp-faq mailing list is for discussion of the content
  28. of the FAQ posting only.  It is not the place to ask questions about Scheme;
  29. use either the scheme@ai.mit.edu mailing list, the comp.lang.scheme
  30. newsgroup or the Scheme Digest (scheme@mc.lcs.mit.edu) for that. If a
  31. question appears frequently in one of those forums, it will get added
  32. to the FAQ list. 
  33.  
  34. *** Copyright:
  35.  
  36. Copyright (c) 1993-94 by Mark Kantrowitz and Barry Margolin. 
  37. All rights reserved. 
  38.  
  39. This FAQ may be freely redistributed in its entirety without
  40. modification provided that this copyright notice is not removed.  It
  41. may not be sold for profit or incorporated in commercial documents
  42. (e.g., published for sale on CD-ROM, floppy disks, books, magazines,
  43. or other print form) without the prior written permission of the
  44. copyright holder.  Permission is expressly granted for this document
  45. to be made available for file transfer from installations offering
  46. unrestricted anonymous file transfer on the Internet.
  47.  
  48. This article is provided AS IS without any express or implied warranty.
  49.  
  50. *** Topics Covered:
  51.  
  52. Topics Covered (Part 1):
  53.   [1-0]   What is the purpose of this newsgroup?
  54.   [1-2]   What is the difference between Scheme and Common Lisp?
  55.   [1-3]   Scheme books, introductions, documentation, periodicals,
  56.           journals, and conference proceedings. 
  57.   [1-4]   Where can I learn about implementing Scheme interpreters and 
  58.           compilers?
  59.   [1-7]   Standards for Scheme -- What are R4RS and IEEE P1178?
  60.   [1-8]   How do I do object-oriented programming in Scheme?
  61.   [1-9]   Repositories of Scheme Software
  62.   [1-10]  Publicly Redistributable Scheme Software
  63.   [1-11]  Formatting code in LaTeX (WEB and other literate programming tools)
  64.   [1-12]  Where can I get an implementation of Prolog in Scheme?
  65.   [1-13]  What does SICP, SCOOPS, R4RS, CAR, CDR, ... mean?
  66.   [1-14]  Why is there no EVAL in Scheme?
  67.   [1-15]  World-Wide Web (WWW) Resources
  68.   [1-16]  Why is Scheme called 'Scheme'?
  69.  
  70. Topics Covered (Part 2):
  71.   [2-1]   Free Scheme implementations.
  72.   [2-2]   Commercial Scheme implementations.
  73.   [2-3]   What Scheme-related discussion groups and mailing lists exist?
  74.  
  75. Search for \[#\] to get to question number # quickly.
  76.  
  77. *** Recent Changes:
  78.  
  79. ;;; 1.13:
  80. ;;; 15-APR-94 mk    Replaced cs.indiana.edu with ftp.cs.indiana.edu 
  81. ;;; 12-MAY-94 mk    Added entry on libscheme to [2-1].
  82. ;;; 12-MAY-94 mk    SIOD v3.0 now available.
  83. ;;; 12-MAY-94 mk    Added entry on Andrew Wright's Soft Scheme type system.
  84. ;;;
  85. ;;; 1.14:
  86. ;;; 27-MAY-94 mk    Added ChezSybase to [1-10].
  87. ;;; 12-JUN-94 mk    New version of STk.
  88. ;;;
  89. ;;; 1.15:
  90. ;;; 15-JUN-94 mk    Moved STk to the free Scheme implementations list.
  91. ;;; 15-JUN-94 mk    Alphabetized the free scheme implementations.
  92. ;;; 15-JUN-94 mk    Alphabetized the commercial Scheme implementations.
  93. ;;;  7-JUL-94 mk    Changed "http://martigny..." to "http://www-swiss..." in
  94. ;;;                 [1-15], per Jonathan Rees.
  95. ;;;  8-JUL-94 mk    Updated PC-Scheme entry; added Ibuki PC-Scheme entry.
  96. ;;;  8-JUL-94 mk    Added HTML version of R4RS.
  97. ;;;
  98. ;;; 1.16:
  99. ;;; 22-JUL-94 mk    Added note about the Scheme section of the CMU AI
  100. ;;;                 Repository to [1-9], including information on the CD-ROM.
  101. ;;;
  102. ;;; 1.17:
  103. ;;; 23-AUG-94 mk    Moved the lisp-faq mailing list (for maintenance of the
  104. ;;;                 FAQ) from think.com to ai+lisp-faq@cs.cmu.edu.
  105. ;;;                 FAQ no longer available from ftp.think.com.
  106. ;;; 23-AUG-94 mk    New ftp location for Prolog in Scheme [1-12].
  107. ;;; 26-AUG-94 mk    Added Bryan's Object System to [1-8].
  108. ;;;  1-SEP-94 mk    New entry for Chez Scheme in [2-2].
  109.  
  110.  
  111. *** Introduction:
  112.  
  113. Certain questions and topics come up frequently in the various network
  114. discussion groups devoted to and related to Scheme.  This file/article is
  115. an attempt to gather these questions and their answers into a convenient
  116. reference for Scheme programmers.  It (or a reference to it) is posted
  117. periodically.  The hope is that this will cut down on the user time and
  118. network bandwidth used to post, read and respond to the same questions
  119. over and over, as well as providing education by answering questions
  120. some readers may not even have thought to ask.
  121.  
  122. This is not a Scheme tutorial, nor is it an exhaustive list of all Scheme
  123. intricacies.  Scheme is a very powerful and expressive language, but with
  124. that power comes many complexities.  This list attempts to address the
  125. ones that average Scheme programmers are likely to encounter.  If you are
  126. new to Scheme, see the answer to the question "How can I learn
  127. Scheme?" [1-3].
  128.  
  129. The latest version of this file is available via anonymous FTP from CMU: 
  130.  
  131.    To obtain the files from CMU, connect by anonymous FTP to 
  132.       ftp.cs.cmu.edu:/user/ai/pubs/faqs/scheme/  [128.2.206.173]
  133.    using username "anonymous" and password "name@host" (substitute your
  134.    email address) or via AFS in the Andrew File System directory
  135.       /afs/cs.cmu.edu/project/ai-repository/ai/pubs/faqs/scheme/
  136.    and get the files scheme_1.faq and scheme_2.faq.
  137.  
  138. You can also obtain a copy of the FAQ by sending a message to
  139. ai+query@cs.cmu.edu with 
  140.    Send Scheme FAQ
  141. in the message body.
  142.  
  143. An automatically generated HTML version of the Scheme FAQ is accessible by
  144. WWW as part of the AI-related FAQs Mosaic page. The URL for this
  145. resource is
  146.    http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs/top.html
  147. The direct URL for the Lisp FAQ is
  148.    http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs/lang/scheme/top.html
  149.  
  150. We've tried to minimize the overlap with the FAQ postings to the
  151. comp.lang.lisp, comp.lang.clos and comp.ai newsgroups, so if you don't
  152. find what you're looking for here, we suggest you try the FAQs for
  153. those newsgroups. These FAQs should be available by anonymous ftp from
  154.    rtfm.mit.edu:/pub/usenet/news.answers/ [18.181.0.24]
  155. in the lisp-faq/, ai-faq/ and scheme-faq/ subdirectories or by email.
  156. For instructions on email retrieval, send a mail message to
  157. mail-server@rtfm.mit.edu with "help" and "index" on separate lines in
  158. the body of the message.
  159.  
  160. If you need to cite the FAQ for some reason, use the following format:
  161.    Mark Kantrowitz and Barry Margolin, "Answers to Frequently Asked
  162.    Questions about Scheme", comp.lang.scheme, <month>, <year>,
  163.    ftp.cs.cmu.edu:/user/ai/pubs/faqs/scheme/scheme_?.faq, 
  164.    ai+lisp-faq@cs.cmu.edu.
  165.  
  166. ----------------------------------------------------------------
  167. Subject: [1-0] What is the purpose of this newsgroup?
  168.  
  169. The newsgroup comp.lang.scheme exists for general discussion of
  170. topics related to the programming language Scheme. For example, possible
  171. topics can include (but are not necessarily limited to):
  172.    announcements of Scheme books and products
  173.    discussion of programs and utilities written in Scheme
  174.    discussion of portability issues
  175.    questions about possible bugs in Scheme implementations
  176.    problems porting an implementation to some architecture
  177. Postings should be of general interest to the Scheme community. See also
  178. question [2-3].
  179.  
  180. Questions about Common Lisp should be directed to the newsgroup
  181. comp.lang.lisp.  Discussion of object oriented programming in Lisp to
  182. the newsgroup comp.lang.clos. Discussion of functional programming
  183. language issues in general should be directed to the newsgroup
  184. comp.lang.functional.  Discussion of AI programs implemented in Scheme
  185. should sometimes be cross-posted to the newsgroup comp.ai.
  186.  
  187. ----------------------------------------------------------------
  188. Subject: [1-2] What is the difference between Scheme and Common Lisp?
  189.  
  190. Scheme is a dialect of Lisp that stresses conceptual elegance and
  191. simplicity. It is specified in R4RS and IEEE standard P1178. (See
  192. question [1-7] for details on standards for Scheme.) Scheme is much
  193. smaller than Common Lisp; the specification is about 50 pages,
  194. compared to Common Lisp's 1300 page draft standard. (See the Lisp FAQ
  195. for details on standards for Common Lisp.) Advocates of Scheme often
  196. find it amusing that the entire Scheme standard is shorter than the
  197. index to Guy Steele's "Common Lisp: the Language, 2nd Edition".
  198.  
  199. Scheme is often used in computer science curricula and programming
  200. language research, due to its ability to represent many programming
  201. abstractions with its simple primitives. Common Lisp is often used for
  202. real world programming because of its large library of utility
  203. functions, a standard object-oriented programming facility (CLOS), and
  204. a sophisticated condition handling system.
  205.  
  206. See question [1-8] for information about object-oriented programming
  207. in Scheme. 
  208.  
  209. In Common Lisp, a simple program would look something like the
  210. following:
  211.  
  212.    (defun fact (n)
  213.      (if (< n 2)
  214.          1
  215.          (* n (fact (1- n)))))
  216.  
  217. In Scheme, the equivalent program would like like this:
  218.  
  219.    (define fact
  220.      (lambda (n)
  221.        (if (< n 2)
  222.            1
  223.          (* n (fact (- n 1))))))
  224.  
  225. Experienced Lisp programmers might write this program as follows in order
  226. to allow it to run in constant space:
  227.  
  228.    (defun fact (n)
  229.      (labels ((tail-recursive-fact (counter accumulator)
  230.                 (if (> counter n)
  231.                     accumulator
  232.                     (tail-recursive-fact (1+ counter)
  233.                                          (* counter accumulator)))))
  234.        (tail-recursive-fact 1 1)))
  235.  
  236. Whereas in Scheme the same computation could be written as follows:
  237.  
  238.    (define fact
  239.      (lambda (n)
  240.        (letrec ((tail-recursive-fact
  241.                  (lambda (counter accumulator)
  242.                    (if (> counter n)
  243.                        accumulator
  244.                      (tail-recursive-fact (+ counter 1)
  245.                                           (* counter accumulator))))))
  246.                (tail-recursive-fact 1 1))))
  247.  
  248. or perhaps (using IEEE named LETs):
  249.  
  250.    (define fact
  251.      (lambda (n)
  252.        (let loop ((counter n)
  253.                   (accumulator 1))
  254.             (if (< counter 2)
  255.                 accumulator
  256.               (loop (- counter 1)
  257.                     (* accumulator counter))))))
  258.  
  259. Some Schemes allow one to use the syntax (define (fact n) ...) instead
  260. of (define fact (lambda (n) ...)).
  261.  
  262. ----------------------------------------------------------------
  263. Subject: [1-3] Scheme books, introductions, documentation, periodicals, 
  264.                journals, and conference proceedings.
  265.  
  266. Introductions to Scheme:
  267.  
  268.    The following four books from MIT Press are listed in order of
  269.    increasing difficulty. The first is good for the complete novice,
  270.    the second for students with little or no previous exposure to programming,
  271.    and the third and fourth for more advanced students. The third and
  272.    fourth may also be used to learn a variety of powerful programming
  273.    language concepts. One of these books will suit your needs.
  274.  
  275.    1. Daniel P. Friedman and M. Felleisen.
  276.       "The Little LISPer"
  277.       MIT Press (Cambridge, MA), 3rd printing, 1989. ISBN 0-262-56038-0.
  278.       Science Research Associates (Chicago), 3rd ed, 1989. 206 pages.
  279.  
  280.       Good for a quick introduction. Uses Scheme instead of Common Lisp.
  281.       (The book uses a dialect of Scheme with footnotes about translating to
  282.       Scheme or Common Lisp. The footnotes won't allow a non-expert to use
  283.       Common Lisp for the advanced chapters because of the complexity.)
  284.  
  285.    2. Brian Harvey and Matthew Wright
  286.       "Simply Scheme: Introducing Computer Science"
  287.       MIT Press, Cambridge, MA, 1994. 583 pages. 
  288.       ISBN 0-262-08226-8. $49.95.
  289.  
  290.       This book is ideal for students with little or no previous exposure to
  291.       programming. The book is designed to be used before SICP (the authors
  292.       call it a SICP "prequel"), and makes Scheme fun by sheltering the
  293.       students from potentially confusing technical details. Unlike Pascal
  294.       or C, the emphasis is on ideas, not obscure matters of syntax and
  295.       arbitrary rules of style.  High schools who have shied away from using
  296.       Scheme because they found SICP to be too challenging should consider
  297.       using this book instead.
  298.  
  299.       The text gradually and gently introduces students to some of the key
  300.       concepts of programming in Scheme. It starts off with functions and
  301.       function composition and continues with the notion of functions as
  302.       data (first-class functions) and programs that write programs
  303.       (higher-order functions).  Since the complexity of the language is
  304.       hidden, students can get involved in some of the more interesting and
  305.       fun aspects of the language earlier than in other texts.  Then the
  306.       book progresses through the more complicated concepts of lambda,
  307.       recursion, data abstraction and procedural abstraction, and concludes
  308.       with sequential techniques, but with careful attention to topics
  309.       students often find difficult.  There are five chapters on recursion
  310.       alone! There's also a pitfalls section at the end of most chapters to
  311.       help students recognize and avoid common errors.
  312.  
  313.       The book uses several programs as examples, including a tic-tac-toe
  314.       program, a pattern matcher, a miniature spreadsheet, and a simple
  315.       database program.  Source code for the programs is available by
  316.       anonymous ftp from anarres.cs.berkeley.edu:/pub/scheme/, or for $10 on
  317.       IBM or Macintosh diskettes from the publisher.
  318.  
  319.    3. Harold Abelson and Gerald Jay Sussman, with Julie Sussman.
  320.       "Structure and Interpretation of Computer Programs"
  321.       MIT Press (Cambridge, MA) and McGraw-Hill (New York), 1985.
  322.       542 pages. ISBN 0-262-01077-1, $55. The teacher's manual, which is
  323.       also available from MIT Press (ISBN 0-262-51046-4 $20), does NOT
  324.       contain solutions to the exercises, but does contain hints on
  325.       teaching with the book. 
  326.  
  327.       Starts off introductory, but rapidly gets into powerful
  328.       Lisp-particular constructs, such as using closures and engines,
  329.       building interpreters, compilers and object-oriented systems.  Often
  330.       referred to by its acronym, SICP, which is pronounced "Sick-Pee". This
  331.       is the classical text for teaching program design using Scheme,
  332.       and everybody should read it at least once. MIT problem sets are
  333.       available from the repositories, and materials from Gustavus
  334.       Adolphus College are available from ftp.gac.edu:/pub/SICP/. 
  335.  
  336.    4. George Springer and Daniel P. Friedman
  337.       "Scheme and the Art of Programming" 
  338.       MIT Press and McGraw Hill, 1990, 596 pages.
  339.       ISBN 0-262-19288-8, $50.
  340.  
  341.       Introduces basic concepts of programming in Scheme. Also deals with
  342.       object oriented programming, co-routining, continuations.  Gives
  343.       numerous examples. Has more of an emphasis on teaching Scheme than
  344.       SICP, and can be seen as an alternative to SICP.  Source code from the
  345.       chapters is available from 
  346.           ftp.cs.indiana.edu:/pub/scheme-repository/lit/sap/
  347.  
  348. Older Introductions to Scheme:
  349.  
  350.    1. Smith, Jerry D.
  351.       "Introduction to Scheme"
  352.        Prentice Hall (Englewood Cliffs, NJ), 1988, 324 pages.
  353.            Focuses on PC Scheme.
  354.  
  355.    2. Michael Eisenberg 
  356.       "Programming in Scheme"
  357.       Scientific Press (Redwood City, CA), 1988. 304 pages.
  358.  
  359.    3. Two articles in BYTE Magazine, February 1988, by Abelson and
  360.       Sussman, and Clinger.
  361.  
  362. Online Introductions to Scheme:
  363.  
  364.    1. The Ken Dickey article, "The Scheme Programming Language", in
  365.       COMPUTER LANGUAGES magazine, June 1992, is available from the
  366.       Scheme Repository at 
  367.           ftp.cs.indiana.edu:/pub/scheme-repository/txt/intro.txt
  368.       The Revised^4 Report on the Algorithmic Language Scheme is also 
  369.       available from the Scheme Repository.
  370.  
  371.    2. The Info files from the MIT Scheme implementation.
  372.  
  373.    3. "Introductory Scheme" by Joseph W. Lavinus and James D. Arthur,
  374.        <lavinus@virginia.edu>. Available from the Lisp Utilities
  375.        Repository as ftp.cs.cmu.edu:/user/ai/lang/scheme/doc/intro/ 
  376.        as schemedoc.tar.gz.
  377.  
  378. Scheme and Artificial Intelligence:
  379.  
  380.    1. Wolfgang Kreutzer and Bruce McKenzie
  381.       "Programming for Artificial Intelligence: 
  382.        Methods, Tools and Applications"
  383.       Addison-Wesley (Reading, MA), 1990. 682 pages. 
  384.       ISBN 0-201-41621-2.
  385.            Discusses Scheme, Prolog, and Smalltalk, gives an overview of
  386.            the history and philosophy of AI, surveys three major
  387.            programming paradigms (procedural, declarative, and
  388.            object-oriented), and metaphors to AI programming.
  389.            Source code from the chapters is available from 
  390.               ftp.cs.indiana.edu:/pub/scheme-repository/lit/
  391.            as aibook.tar.Z. Some of the programs will only run under MacScheme.
  392.  
  393. General Scheme reference books include:
  394.  
  395.    1. K. Dybvig
  396.       "The Scheme programming language"
  397.       Prentice Hall, 1987.
  398.          Good reference for Scheme.
  399.  
  400. Scheme-related periodicals include:
  401.         
  402.    1. LISP Pointers.
  403.       Published by ACM SIGPLAN six times a year. Volume 1, Number 1
  404.       was April-May 1987. 
  405.       Subscriptions: ACM Members $12; ACM Student Members $7; Non-ACM
  406.       members $25. Mail checks payable to the ACM to ACM Inc., PO Box
  407.       12115, Church Street Station, New York, NY 10249.
  408.  
  409.    2. LISP and Symbolic Computation, Kluwer Academic Press. Volume 1
  410.       was published in 1989. (jlz@lucid.com is the editor).  ISSN 0892-4635.
  411.       Subscriptions: Institutions $169; Individuals $80. Add $8 for
  412.       air mail. Kluwer Academic Publishers, PO Box 322, 3300 AH Dordrecht, 
  413.       The Netherlands, or Kluwer Academic Publishers, PO Box 358, Accord
  414.       Station, Hingham, MA 02018-0358. 
  415.  
  416.    3. Proceedings of the biannual ACM Lisp and Functional Programming
  417.       Conference. (First one was in 1980.)
  418.  
  419.    4. Proceedings of the annual Lisp Users and Vendors Conference.
  420.  
  421. See also the Scheme Bibliography from the Scheme Repository
  422. (ftp.cs.indiana.edu:/pub/scheme-repository/) for additional readings.
  423. A large number of technical reports on Scheme are now available in the
  424. text section (ftp.cs.indiana.edu:/pub/scheme-repository/txt/).
  425.  
  426. ----------------------------------------------------------------
  427. Subject: [1-4] Where can I learn about implementing Scheme interpreters  
  428.                and compilers?
  429.  
  430. There is no single book that is really comprehensive, so you will have
  431. to combine reading the sources to the various free implementations
  432. (e.g., Gambit [Feeley] and S48 [Rees]) with bits and pieces of tech
  433. reports and various books.
  434.  
  435. Books about Scheme implementation include:
  436.  
  437.    1. John Allen
  438.       "Anatomy of Lisp"
  439.       McGraw-Hill, 1978. 446 pages. ISBN 0-07-001115-X
  440.  
  441.    2. Samuel Kamin
  442.       "Programming Languages, An Interpreter-Based Approach"
  443.       Addison-Wesley, Reading, Mass., 1990. ISBN 0-201-06824-9
  444.            Includes sources to several interpreters for Lisp-like
  445.            languages, and a pointer to sources via anonymous ftp.
  446.  
  447.    3. Sharam Hekmatpour
  448.       "Lisp: A Portable Implementation"
  449.       Prentice Hall, 1985. ISBN 0-13-537490-X.
  450.            Describes a portable implementation of a small dynamic
  451.            Lisp interpreter (including C source code). 
  452.  
  453.    4. Peter Henderson
  454.       "Functional Programming: Application and Implementation"
  455.       Prentice-Hall (Englewood Cliffs, NJ), 1980. 355 pages.
  456.  
  457.    5. Peter M. Kogge
  458.       "The Architecture of Symbolic Computers"
  459.       McGraw-Hill, 1991. ISBN 0-07-035596-7.
  460.            Includes sections on memory management, the SECD and
  461.            Warren Abstract Machines, and overviews of the various
  462.            Lisp Machine architectures.
  463.    
  464.    6. Daniel P. Friedman, Mitchell Wand, and Christopher T. Haynes
  465.       "Essentials of Programming Languages"
  466.       MIT Press, 1992, 536 pages. ISBN 0-262-06145-7, $55.
  467.            Teaches fundamental concepts of programming language
  468.            design by using small interpreters as examples. Covers
  469.            most of the features of Scheme. Includes a discussion
  470.            of parameter passing techniques, object oriented languages,
  471.            and techniques for transforming interpreters to allow
  472.            their implementation in terms of any low-level language.
  473.            Also discusses scanners, parsers, and the derivation of
  474.            a compiler and virtual machine from an interpreter.
  475.            Source files available by anonymous ftp from 
  476.               ftp.cs.indiana.edu:/pub/eopl/ (129.79.254.191) or from the
  477.            Scheme Repository.
  478.  
  479.    7. Peter Lee, editor, "Topics in Advanced Language Implementation",
  480.       The MIT Press, Cambridge, Mass., 1991.
  481.            Articles relevant to the implementation of functional
  482.            programming languages.
  483.  
  484.    8. Also see the proceedings of the biannual ACM Lisp and Functional
  485.       Programming conferences, the implementation notes for CMU Common Lisp,
  486.       Peter Norvig's book ("Paradigms of AI Programming: Case Studies
  487.       in Common Lisp", Morgan Kaufmann, 1992. 946 pages. ISBN
  488.       1-55860-191-0), and SICP (Abelson & Sussman). 
  489.  
  490. Technical reports and journal articles about Scheme implementation include:
  491.  
  492.    Mitchell Wand and Daniel P. Friedman, "Compiling Lambda Expressions
  493.    Using Continuations and Factorizations", Journal of Computer Languages
  494.    3(1978), 241-263.
  495.  
  496.    Guy Lewis Steele Jr., "Rabbit: A Compiler for Scheme", MIT AI Memo
  497.    474, Massachusetts Institute of Technology, Cambridge, MA, May 1978.
  498.  
  499.    Guy Lewis Steele Jr., "Compiler Optimization Based on Viewing LAMBDA
  500.    as RENAME + GOTO", in "Artificial Intelligence: An MIT Perspective",
  501.    Patrick Henry Winston and Richard Henry Brown (eds.), MIT Press,
  502.    Cambridge, MA, 1980.
  503.  
  504.    Jonathan A. Rees and Norman I. Adams, "T: A Dialect of Lisp or,
  505.    LAMBDA: The Ultimate Software Tool", Conference Record of the 1982 ACM
  506.    Symposium on Lisp and Functional Programming, 1982, 114-122.
  507.  
  508.    R. Kent Dybvig, "C-Scheme", Computer Science Department Technical
  509.    Report #149 (MS Thesis), Indiana University, Bloomington, IA, 1983.
  510.  
  511.    William Clinger, "The Scheme 311 compiler: An Exercise in Denotational
  512.    Semantics", Conference Record of the 1984 ACM Symposium on Lisp and
  513.    Functional Programming, 1984, 356-364.
  514.  
  515.    Guillermo J. Rozas, "Liar, an Algol-like Compiler for Scheme", S.B.
  516.    Thesis, Department of Electrical Engineering and Computer Science,
  517.    Massachusetts Institute of Technology, January 1984.
  518.  
  519.    David H. Bartley and John C. Jensen, "The Implementation of PC
  520.    Scheme", Proceedings of the 1986 ACM Conference on Lisp and Functional
  521.    Programming, 1986, 86-93.
  522.  
  523.    David Kranz, Richard Kelsey, Jonathan A. Rees, Paul Hudak, James
  524.    Philbin and Norman I. Adams, "Orbit: An Optimizing Compiler for
  525.    Scheme", Proceedings of the SIGPLAN Notices '86 Symposium on Compiler
  526.    Construction, June 1986, 219-233.  Published as SIGPLAN Notices 21(7),
  527.    July 1986.
  528.  
  529.    Marc Feeley, "Deux Approches a' L'implantation du Language Scheme",
  530.    M.Sc. Thesis, De'partement d'Informatique et de Recherche
  531.    Ope'rationelle, University of Montreal, May 1986.
  532.  
  533.    R. Kent Dybvig, "Three Implementation Models for Scheme", Department
  534.    of Computer Science Technical Report #87-011 (Ph.D. Dissertation),
  535.    University of North Carolina at Chapel Hill, Chapel Hill, North
  536.    Carolina, April 1987.
  537.  
  538.    William D. Clinger, Anne H. Hartheimer and Eric M. Ost,
  539.    "Implementation Strategies for Continuations", Conference Record of
  540.    the 1988 ACM Conference on Lisp and Functional Programming, August
  541.    1988, 124-131.
  542.  
  543.    David Kranz, "Orbit: An Optimizing Compiler for Scheme", Computer
  544.    Science Technical report #632 (Ph.D. Dissertation), Yale University,
  545.    1988.
  546.  
  547.    Joel F. Bartlett, "SCHEME->C a Portable Scheme-to-C Compiler",
  548.    Research Report 89/1, Dec. Western Research Laboratory, Palo Alto, CA,
  549.    January 1989.
  550.  
  551.    Marc Feeley and James S. Miller, "A Parallel Virtual Machine for
  552.    Efficient Scheme Compilation", Proceedings of the 1990 ACM Conference
  553.    on Lisp and Functional Programming, Nice, France, June 1990.
  554.  
  555.    Chris Hanson, "Efficient Stack Allocation for Tail-Recursive
  556.    Languages", Proceedings of the 1990 ACM Conference on Lisp and
  557.    Functional Programming, Nice, France, June 1990.
  558.  
  559.    Robert Hieb, R. Kent Dybvig and Carl Bruggeman, "Representing Control
  560.    in the Presence of First-Class Continuations", Proceedings of the
  561.    SIGPLAN Notices '90 Conference on Programming Language Design and
  562.    Implementation, White Plains, New York, June 1990, 66-77.
  563.  
  564.    Guillermo Rozas, "Taming the Y Operator", Proceedings of the 1992 ACM
  565.    Conference on Lisp and Functional Programming, San Francisco, CA,
  566.    June 1992, 226-234.
  567.  
  568.    Dan Teodosiu, "HARE: An Optimizing Portable Compiler for Scheme", ACM
  569.    Sigplan Notices 26(1), January 1991.
  570.  
  571. ----------------------------------------------------------------
  572. Subject: [1-7] Standards for Scheme -- What are R4RS and IEEE P1178?
  573.  
  574. R4RS is the Revised^4 Report on the Algorithmic Language Scheme,
  575. edited by W. Clinger and J. Rees. It appeared in ACM Lisp Pointers IV,
  576. July-September 1991, and also as MIT AI Memo 848b. It serves as a kind
  577. of standard for the language. It can be obtained by anonymous ftp at
  578. the two Scheme Repositories, altdorf.ai.mit.edu and ftp.cs.indiana.edu.
  579. A HTML version is available as
  580.    ftp://altdorf.ai.mit.edu/archive/scm/HTML/r4rs_toc.html
  581.  
  582. IEEE P1178 is IEEE Standard 1178-1990, "IEEE Standard for the Scheme
  583. Programming Language", published by IEEE in 1991. ISBN 1-55937-125-0.
  584. It is now also an ANSI standard. It may be ordered from IEEE by
  585. calling 1-800-678-IEEE or 908-981-1393 or writing IEEE Service
  586. Center, 445 Hoes Lane, P.O. Box 1331, Piscataway, NJ 08855-1331, 
  587. and using order number SH14209 ($28 for IEEE members, $40 others).
  588.  
  589. ----------------------------------------------------------------
  590. Subject: [1-8] How do I do object-oriented programming in Scheme?
  591.  
  592. Some Scheme implementations (for example, MacScheme, Feel, Oaklisp, XScheme,
  593. and PC-Scheme) include built-in object-oriented extensions.  
  594.  
  595. BOS (Bryan's Object System) is a very small object system for Scheme.
  596. It is based around generic functions and multiple inheritance.  BOS
  597. provides more or less the same features as Meroon and the Tiny CLOS
  598. base language. Even though it has not been optimised, it should be
  599. quite a bit faster than those because it does not include a MOP.
  600. BOS has been tested under Scheme 48 and SCM, and should run under any
  601. fairly modern Scheme implementation (especially any which runs SLIB)
  602. with little or no change.  It is available by anonymous ftp from
  603.    ftp.maths.tcd.ie:/pub/bosullvn/misc/bos.tar.gz
  604. and the CMU AI Repository in
  605.    ftp.cs.cmu.edu:/user/ai/lang/scheme/oop/bos/
  606. For more information, write to Bryan O'Sullivan <bosullvn@maths.tcd.ie>.
  607.  
  608. MEROON is a package written in Scheme to provide the basic facilities
  609. of an object-oriented programming style through three macros:
  610. define-class, define-generic, and define-method. MEROON offers simple
  611. inheritance, reflective metaclasses and simple dispatching generic
  612. functions with support for multimethods. MEROON also offers indexed
  613. fields subsuming Scheme vectors without inheritance restrictions.
  614. Meroon runs in Scheme->C, PC-Scheme, Chez Scheme, Elk, Bigloo, SCM
  615. with SLIB, and MacGambit. MEROON sources and documentation may be
  616. found in the Scheme Repository as
  617.    ftp.cs.indiana.edu:/pub/scheme-repository/new/meroon.*.tar.Z
  618. and also from
  619.    ftp.inria.fr:/pub/INRIA/icsla/Programs/MeroonV3*.tar.gz [128.93.1.26]
  620. The file meroonet*.tar.gz is a toy version of meroon. For more
  621. information, contact Christian Queinnec <queinnec@polytechnnique.fr>
  622. or <Christian.Queinnec@inria.fr>.
  623.  
  624. SCOOPS (Scheme Object Oriented Programming System) is an object system
  625. for Scheme written by Amitabh Srivastava/Texas Instruments with 
  626. re-writes by Steve Sherin <sherin@linc.cis.upenn.edu>. [Email to this
  627. address bounced 7/7/93.] This package needs first-class environments.
  628. It is available from the Scheme Repository as
  629. /pub/scheme-repository/scm/scoops.sha. 
  630.  
  631. Tiny CLOS is a Scheme implementation of a `kernelized' CLOS, with a
  632. metaobject protocol. The implementation is even simpler than the
  633. simple CLOS found in `The Art of the Metaobject Protocol,' weighing in
  634. at around 850 lines of code, including (some) comments and
  635. documentation. Tiny CLOS is available by anonymous ftp from
  636. parcftp.xerox.com:/pub/mops/. Tiny CLOS runs in MIT Scheme 11.74 and
  637. should run with only minor modifications in other Schemes as well. If
  638. you want to be added to the mops@parc.xerox.com mailing list
  639. (technical questions and discussion only), send mail to Gregor Kiczales
  640. <gregor@parc.xerox.com>.
  641.  
  642. YASOS (Yet Another Scheme Object System) is fairly functional in style
  643. and uses delegation.  The implementation includes multiple inheritance
  644. and "send to super" and is much smaller than class-based OO systems.
  645. See Ken Dickey, "Scheming with Objects", AI Expert 7(10):24-33,
  646. October 1992. A copy of the article and YASOS code is available from
  647. the Scheme Repository in pub/scheme-repository/txt/swob.txt. YASOS is also
  648. included as part of SLIB. For further information, contact Ken Dickey
  649. <kend@newton.apple.com>.
  650.  
  651. ----------------------------------------------------------------
  652. Subject: [1-9] Repositories of Scheme Software
  653.  
  654. There are several repositories of publicly redistributable and
  655. public domain Scheme code. 
  656.  
  657. CMU AI Repository, Scheme Section:
  658.  
  659.    The Scheme Section of the CMU Artificial Intelligence Repository
  660.    is accessible by anonymous ftp to
  661.       ftp.cs.cmu.edu:/user/ai/lang/scheme/ [128.2.206.173]
  662.    through the AFS directory
  663.       /afs/cs.cmu.edu/project/ai-repository/ai/lang/scheme/
  664.    or by WWW from the URL   
  665.       http://www.cs.cmu.edu:8001/Web/Groups/AI/html/repository.html
  666.    and includes more than 200 megabytes of sources and other materials
  667.    of interest to Scheme programmers, including all freely
  668.    distributable implementations and many programs.  Unlike the Scheme
  669.    Repository at Indiana University, the entire contents of the CMU AI
  670.    Repository has been keyword indexed to provide convenient browsing
  671.    of the contents.
  672.  
  673.    The repository has standardized on using 'tar' for producing
  674.    archives of files and 'gzip' for compression.
  675.  
  676.    To search the keyword index by mail, send a message to:
  677.       ai+query@cs.cmu.edu
  678.    with one or more lines containing calls to the keys command, such as:
  679.       keys scheme awk
  680.    in the message body.  Keywords may be regular expressions and are
  681.    compared with the index in a case-insensitive conjunctive fashion.  
  682.    You'll get a response by return mail. Do not include anything else in 
  683.    the Subject line of the message or in the message body.  For help on
  684.    the query mail server, include: 
  685.       help
  686.    instead. 
  687.  
  688.    A Mosaic interface to the keyword searching program is in the
  689.    works.  We also plan to make the source code (including indexes) to
  690.    this program available, as soon as it is stable.
  691.  
  692.    Most of the Scheme Section of the AI Repository appears on Prime Time 
  693.    Freeware for AI, Issue 1-1, a mixed-media book/CD-ROM publication. It
  694.    includes two ISO-9660 CD-ROMs bound into a 224 page book and sells
  695.    (list) for US$60 plus applicable sales tax and shipping and handling
  696.    charges. Payable through Visa, Mastercard, postal money orders in US
  697.    funds, and checks in US funds drawn on a US bank. For more
  698.    information write to Prime Time Freeware, 370 Altair Way, Suite 150,
  699.    Sunnyvale, CA  94086  USA, call 408-433-9662, 408-433-0727 (fax),
  700.    or send email to ptf@cfcl.com.
  701.  
  702.    Contributions of software and other materials are always welcome but
  703.    must be accompanied by an unambiguous copyright statement that grants
  704.    permission for free use, copying, and distribution -- either a
  705.    declaration by the author that the materials are in the public domain,
  706.    that the materials are subject to the GNU General Public License (cite
  707.    version), or that the materials are subject to copyright, but the
  708.    copyright holder grants permission for free use, copying, and
  709.    distribution. (We will tell you if the copying permissions are too
  710.    restrictive for us to include the materials in the repository.)
  711.    Inclusion of materials in the repository does not modify their
  712.    copyright status in any way. Materials may be placed in:
  713.       ftp.cs.cmu.edu:/user/ai/new/
  714.    When you put anything in this directory, please send mail to
  715.       ai+contrib@cs.cmu.edu
  716.    giving us permission to distribute the files, and state whether
  717.    this permission is just for the AI Repository, or also includes
  718.    publication on the CD-ROM version (Prime Time Freeware for AI).
  719.    We would also appreciate if you would include a 0.doc file for your
  720.    package; see /user/ai/new/package.doc for a template. (If you don't
  721.    have the time to write your own, we can write it for you based on
  722.    the information in your package.)
  723.  
  724.    The Scheme Section of the AI Repository is maintained by Mark Kantrowitz 
  725.    <AI.Repository@cs.cmu.edu>. 
  726.  
  727. Scheme Repository at Indiana University:
  728.  
  729.    The Scheme Repository at Indiana University contains a Scheme
  730.    bibliography, copies of the R4RS report and other papers, sample
  731.    Scheme code for a variety of purposes, several utilities, and some
  732.    implementations. The Scheme code includes code for calendar
  733.    calculations, Earley parser, FORMAT for Scheme, a scheme version of
  734.    the Gabriel benchmarks, Marc Feeley's minimal object support for
  735.    Scheme, a Scheme pretty-printer, a Prolog interpreter written in
  736.    Scheme, a random number generator in Scheme, an implementation of
  737.    SCOOPS, code from Abelson and Sussman's SICP book, Aubrey Jaffer's
  738.    IEEE/R4RS compliance test, an implementation of matrices, a Scheme
  739.    implementation of the Common Lisp FORMAT function, a Scheme front end
  740.    to Adobe Illustrator PostScript, and a LALR(1) parser (ZEBU).  The
  741.    repository was established by Ozan S. Yigit and is currently
  742.    maintained by David Eby and John Zuckerman. Send administrative
  743.    requests to
  744.       scheme-repository-request@cs.indiana.edu
  745.    The repository is accessible by anonymous ftp at 
  746.       ftp.cs.indiana.edu:/pub/scheme-repository/   [129.79.254.191]
  747.    The repository is mirrored in INRIA, courtesy of Christian Queinnec
  748.    [Ecole Polytechnique and INRIA-Rocquencourt], ftp.inria.fr:/lang/Scheme/
  749.    and also faui80.informatik.uni-erlangen.de:/pub/scheme/yorku
  750.  
  751. Other Scheme Collections:
  752.  
  753.    Scheme Implementations may also be found at altdorf.ai.mit.edu:/archive/ 
  754.    The R4RS report is available in altdorf.ai.mit.edu:/archive/scheme-reports/
  755.    or as MIT AI Memo 848b (email publications@ai.mit.edu for more information).
  756.    The altdorf archive includes SCOOPS, CL2Scheme, extend-syntax,
  757.    btree, Gabriel benchmarks, FORMAT for Scheme, etc.
  758.  
  759.    The GI (German Computer Science Society) Scheme Archive contains a
  760.    variety of scheme programs, utilities, code from theses, and other
  761.    materials. It also mirrors the Scheme Repository.  It is
  762.    accessible by anonymous ftp to faui80.informatik.uni-erlangen.de
  763.    (login as 'ftp', giving your email address as the password).
  764.       pub/scheme/gi                # GI Scheme Archive
  765.       pub/scheme/yorku             # Internet Scheme Repository
  766.    Direct questions to scheme@faui80.informatik.uni-erlangen.de.
  767.    The GI Scheme Archive is supported by the German Computer Society Special
  768.    Interest Group on AI programming and sponsored by the Bavarian AI Center
  769.    FORWISS -- Research Institute for Knowledge Based Systems.
  770.  
  771. ----------------------------------------------------------------
  772. Subject: [1-10] Publicly Redistributable Scheme Software
  773.  
  774.    SLIB (Standard Scheme Library) is a portable scheme library that
  775.    provides compatibility and utility functions for many of the
  776.    standard scheme implementations, including Chez, ELK 2.1, GAMBIT,
  777.    MITScheme, scheme->C, Scheme48, T3.1, VSCM and Scm4e. It is available by
  778.    anonymous ftp from 
  779.        altdorf.ai.mit.edu:/archive/scm/slib2a1.tar.gz
  780.        prep.ai.mit.edu:/pub/gnu/jacal/slib2a1.tar.gz
  781.        ftp.cs.indiana.edu:/pub/scheme-repository/new/slib2a1.tar.gz
  782.    Now includes a FAQ file.
  783.  
  784.    TEST.SCM is an IEEE and R4RS conformance test suite.  It is available
  785.    from 
  786.       altdorf.ai.mit.edu:/archive/scm/test.scm
  787.       prep.ai.mit.edu:/pub/gnu/jacal/test.scm
  788.       ftp.cs.indiana.edu:/pub/scheme-repository/new/test.scm
  789.  
  790.    PSD (Portable Scheme Debugger) is available by anonymous ftp
  791.    from Tampere University of Technology, Finland,
  792.       ftp.cs.tut.fi:/pub/src/languages/schemes/psd-1.1.tar.Z
  793.    With PSD, you can run a Scheme program in an Emacs buffer, set
  794.    breakpoints, single step evaluation and access and modify the
  795.    program's variables. It works by instrumenting the original source
  796.    code, so it should run with any R4RS compliant Scheme. It has been
  797.    tested with SCM and Elk 1.5, but should work with other Schemes with a
  798.    minimal amount of porting, if at all. Includes documentation and
  799.    user's manual. Written by Pertti Kellom\"aki, pk@cs.tut.fi
  800.    The Lisp Pointers article describing PSD (Lisp Pointers VI(1):15-23,
  801.    January-March 1993) is available as 
  802.       http://www.cs.tut.fi/staff/pk/scheme/psd/article/article.html
  803.  
  804.    SCLINT is a lint-like program for Scheme. It checks for consistency of
  805.    indentation, syntax of special forms, and the number of arguments to
  806.    primitive and most user-defined procedures. This is not a full
  807.    implementation, but rather a quick hack. It is used in teaching
  808.    programming at the Tampere University of Technology. It is available
  809.    by anonymous ftp from 
  810.       ftp.cs.tut.fi:/pub/src/languages/schemes/sclint-0.9.tar.Z.
  811.    For further information, write to Pertti Kellom\"aki <pk@cs.tut.fi>.
  812.  
  813.    A bibliography of work in functional programming can be obtained by 
  814.    anonymous ftp from tamdhu.dcs.st-andrews.ac.uk:/pub/staple/pubs.txt
  815.    (138.251.192.40). It uses a refer-like format with %T for title, %A
  816.    for authors %I for a unique index entry %S for source (possibly a
  817.    reference to another index) %K for keywords and %C for comments.
  818.    Compiled by Tony Davie, <ajtd@honey.st-and.ac.uk>. [Email bounced, 7/7/93.]
  819.  
  820.    Scheme Utilities -- brokaw.lcs.mit.edu:/pub/scmutils.tar  18.30.0.33
  821.    [This collection seems to no longer be located on brokaw -- does
  822.    anybody know the current location?]
  823.  
  824.    A collection of Scheme implementations of data structures and
  825.    algorithms is available by anonymous ftp from 
  826.       ftp.cs.tut.fi:/pub/src/languages/schemes/
  827.    as the file scheme-algorithms.tar. For more information, contact
  828.    Pertti Kellom\"aki <pk@cs.tut.fi>. 
  829.  
  830.    6.001. The User's Manual, example code, and problem sets from MIT's
  831.    course "Structure and Interpretation of Computer Programs" are 
  832.    available by anonymous ftp from martigny.ai.mit.edu:/archive/6.001/
  833.    [18.43.0.152].
  834.  
  835.    Steele's Constraint System. Chris Hanson's implementation of Steele's
  836.    constraint system is available for anonymous ftp from
  837.       martigny.ai.mit.edu:/archive/cph/constraint.tar [18.43.0.152]
  838.       ftp.cs.indiana.edu:/pub/scheme-repository/new/constraint.tar.Z
  839.    A compressed version is also stored there. The software is source code
  840.    for MIT Scheme. It should run in release 7.1.3. Most of the MIT Scheme
  841.    dependencies could be eliminated, but it also uses the following
  842.    procedures which aren't in standard Scheme: error, bkpt, macros,
  843.    dynamic binding, and string output ports. The code corresponds pretty
  844.    closely to Guy Steele's PhD thesis implementation, which you can
  845.    obtain in printed form from the MIT AI Lab publications office as
  846.    AI-TR-595 for $15.00 (email publications@ai.mit.edu for more
  847.    information). For more information, send email to Chris Hanson
  848.    <cph@martigny.ai.mit.edu>.
  849.  
  850.    JACAL is a symbolic mathematics system for the simplification and
  851.    manipulation of equations and single and multiple valued algebraic
  852.    expressions constructed of numbers, variables, radicals, and algebraic
  853.    functions, differential, and holonomic functions. In addition, vectors
  854.    and matrices of the above objects are included.  JACAL is written in
  855.    Scheme and requires SLIB. JACAL source is available via anonymous FTP
  856.    from
  857.       altdorf.ai.mit.edu:/archive/scm/jacal1a4.tar.Z,
  858.       prep.ai.mit.edu:/pub/gnu/jacal/jacal1a4.tar.Z, and
  859.       ftp.cs.indiana.edu:/pub/scheme-repository/new/jacal1a4.tar.Z
  860.    Contact jaffer@altdorf.ai.mit.edu for more information.
  861.   
  862.    Zebu 0.9 is an LALR(1) parser generator for Scheme written by 
  863.    William M. Wells III. It lives in the Scheme Repository 
  864.       ftp.cs.indiana.edu:/pub/scheme-repository/scm/
  865.    and works with PC-Scheme from TI and MIT C-Scheme 6.2 (but not with
  866.    anything after 7.0). 
  867.  
  868.    Thomas is a compiler for the Dylan programming language.  The Thomas
  869.    system is written in Scheme and runs under MIT's CScheme, DEC's
  870.    Scheme->C, and Marc Feeley's Gambit.  It can run on a wide range of
  871.    machines including the Macintosh, PC compatibles, Vax, MIPS, Alpha,
  872.    and 680x0.  Thomas generates IEEE compatible Scheme code.  Thomas is
  873.    available to the public by anonymous ftp at
  874.       crl.dec.com:/pub/DEC/Thomas
  875.       gatekeeper.pa.dec.com:/pub/DEC/Thomas
  876.       altdorf.ai.mit.edu:/archive/Thomas
  877.    For more information on Thomas and Dylan, see part 4 of the Lisp FAQ.
  878.  
  879.    MATCH is a pattern matching macro package for Scheme.  Pattern
  880.    matching allows complicated control decisions based on data structure
  881.    to be expressed in a concise manner. This document describes several
  882.    pattern matching macros for Scheme, and an associated mechanism for
  883.    defining new forms of structured data. This macro package works with
  884.    any Scheme that supports defmacro (which is obtainable by loading
  885.    SLIB), such as Chez Scheme (release 4 or greater). MATCH is available
  886.    by anonymous ftp from titan.cs.rice.edu:/public/wright/match.tar.Z
  887.    [128.42.1.30] and includes the macro source code and documentation. A
  888.    copy should be available from the Scheme Repository shortly.  For
  889.    further information, write to Andrew Wright, <wright@cs.rice.edu>.
  890.  
  891.    Soft Scheme provides the benefits of static typing for dynamically
  892.    typed Scheme.  Like a static type checker, a soft type checker infers
  893.    types for variables and expressions.  But rather than reject programs
  894.    containing untypable fragments, a soft type checker inserts explicit
  895.    run-time checks to transform untypable programs to typable form.
  896.    These run-time checks indicate potential program errors, enabling
  897.    programmers to detect errors prior to program execution.  Soft type
  898.    checking minimizes the number of run-time checks in the compiled code,
  899.    enabling dynamically typed languages to attain the efficiency of
  900.    statically typed languages like ML. Soft Scheme is available by
  901.    anonymous ftp from
  902.       titan.cs.rice.edu:public/wright/softscheme.tar.Z [128.42.1.30]
  903.    For more information, write to Andrew Wright <wright@cs.rice.edu>.
  904.  
  905.    ChezSybase is a Chez Scheme interface to the Sybase database.
  906.    It uses the Chez Scheme foreign function interface to provide a
  907.    high-level Scheme interface to the Sybase db-lib (the API to the
  908.    Sybase database). Most of the db-lib calls and datatypes are
  909.    supported, with the possible exception of spotty support for text and
  910.    image data, and there is no analog to the datetime datatype. It is
  911.    available by anonymous ftp from
  912.       ftp.cs.cmu.edu:/user/ai/lang/scheme/code/io/chez_syb/
  913.    For more information, write to Karl O. Pinc <kop@acm.org>.
  914.  
  915. ----------------------------------------------------------------
  916. Subject: [1-11] Formatting code in LaTeX
  917.  
  918. SLaTeX is a R4RS-compliant Scheme program that allows you to write
  919. program code "as is" in your LaTeX or TeX source.  It is particularly
  920. geared to the programming languages Scheme and Common Lisp, and has
  921. been tested in Chez Scheme, Common Lisp, MIT C Scheme, Elk, Scheme->C,
  922. SCM and UMB Scheme on Unix; and MIT C Scheme and SCM on MSDOS.  The
  923. formatting of the code includes assigning appropriate fonts to the
  924. various tokens in the code (keywords, variables, constants, data), at
  925. the same time retaining the proper indentation when going to the
  926. non-monospace (non-typewriter) provided by TeX.  SLaTeX comes with two
  927. databases that recognize the standard keywords/variables/constants of
  928. Scheme and Common Lisp respectively.  These can be modified by the
  929. user using easy TeX commands.  In addition, the user can inform SLaTeX
  930. to typeset arbitrary identifiers as specially suited TeX expressions
  931. (i.e., beyond just fonting them).  The code-typesetting program SLaTeX
  932. is available by anonymous ftp from 
  933.    cs.rice.edu:/public/dorai/slatex.tar.Z
  934. Send bug reports to dorai@cs.rice.edu.
  935.  
  936. SchemeWEB provides simple support for literate programming in Lisp.
  937. SchemeWEB version 2.0 is a Unix filter that allows you to generate
  938. both Lisp and LaTeX code from one source file.  The generated LaTeX
  939. code formats Lisp programs in typewriter font obeying the spacing in
  940. the source file.  Comments can include arbitrary LaTeX commands.
  941. SchemeWEB was originally developed for the Scheme dialect of Lisp, but
  942. it can easily be used with most other dialects.  Version 2.0 is
  943. available in the Scheme Repository as
  944.    ftp.cs.indiana.edu:/pub/scheme-repository/new/schemeweb.sh
  945. or in the Comprehensive TeX Archive Network (CTAN) in the directory
  946.    ftp.shsu.edu:/tex-archive/web/schemeweb 
  947.  
  948. The Literate Programming FAQ lists a number of alternatives, both
  949. language-independent and Scheme-specific. The Literate Programming FAQ
  950. is posted once a quarter to the comp.literate.programming newsgroup
  951. and is available by anonymous ftp from rtfm.mit.edu. A copy may also be
  952. requested by sending an email message to fileserv@shsu.edu
  953.    sendme litprog.faq
  954. in the body of the message.
  955.  
  956. ----------------------------------------------------------------
  957. Subject: [1-12] Where can I get an implementation of Prolog in Scheme?
  958.  
  959.    Prolog in Scheme is a collection of macros that expand syntax for
  960.    clauses, elations, and so on. It is written in Scheme and has support
  961.    for delayed goals and interval arithmetic. It is known to run in Chez
  962.    Scheme and in Elk, and is intended to be portable to other Scheme
  963.    implementations. It relies on continuations, and so is not easily
  964.    ported to Common Lisp. Available from the University of Calgary by
  965.    anonymous ftp from
  966.       ftp.cpsc.ucalgary.ca:/pub/projects/prolog1.2/prolog12.tar.Z
  967.    Questions and comments may be addressed to Alan Dewar
  968.    <dewar@cpsc.ucalgary.ca> or John Cleary <jcleary@waikato.ac.nz>.
  969.  
  970.    Schelog is an embedding of Prolog in Scheme. It represents Prolog
  971.    goals as procedures in Scheme, and includes macros to simulate a
  972.    Prolog-style syntax for clauses, relations and queries.  The embedding
  973.    permits the user to combine Prolog and Scheme code freely, in the same
  974.    s-expression, if desired.  Documentation and examples are included.
  975.    Schelog should run in any R4RS Scheme, has been tested in SCM and Chez
  976.    Scheme, and will run in any Scheme implementation that supports SLIB (see
  977.    entry in [1-10] above).  Schelog (version 2) is available by anonymous
  978.    ftp from titan.cs.rice.edu:/public/dorai/schelog2.tar.Z.  Its use of
  979.    higher-order continuations is probably a major obstacle to porting it
  980.    to Common Lisp.  For more information, please contact the author Dorai
  981.    Sitaram <dorai@cs.rice.edu>.
  982.  
  983. ----------------------------------------------------------------
  984. Subject: [1-13]  What does SICP, SCOOPS, R4RS, CAR, CDR, ... mean?
  985.  
  986. Glossary of acronyms:
  987.    CAR             Originally meant "Contents of Address portion of Register",
  988.                    which is what CAR actually did on the IBM 704.
  989.    CDR             Originally meant "Contents of Decrement portion of 
  990.                    Register", which is what CDR actually did
  991.                    on the IBM 704. Pronounced "Cudder".
  992.    ANSI            American National Standards Institute
  993.    SICP            Abelson and Sussman's book "Structure and
  994.                    Interpretation of Computer Programs".
  995.    EOPL            Essentials of Programming Languages 
  996.    SCOOPS          An experimental object-oriented programming
  997.                    language for Scheme.
  998.    R3RS            Revised^3 Report on the Algorithmic Language Scheme.
  999.    R4RS            Revised^4 Report on the Algorithmic Language Scheme.
  1000.  
  1001. ----------------------------------------------------------------
  1002. Subject: [1-14] Why is there no EVAL in Scheme?
  1003.  
  1004. The answer to this question is based on information provided by 
  1005. Guillermo J. Rozas and Aubrey Jaffer.
  1006.  
  1007. There are three major positions in the Scheme community regarding EVAL:
  1008.  
  1009.    1. No EVAL: EVAL is antithetical to a Pascal-like (compiler based,
  1010.       externally statically linked) implementation for Scheme, such as
  1011.       some people have or wish to see. 
  1012.  
  1013.    2. Single Argument: There is a single distinguished top-level
  1014.       environment, and EVAL always evaluates its argument there. 
  1015.       (This is the approach taken in Common Lisp, where EVAL evaluates
  1016.       its argument in the current dynamic environment and in a null
  1017.       lexical environment.) 
  1018.  
  1019.    3. Two Arguments: There are multiple environments in which
  1020.       the user might want to evaluate expressions, so EVAL should take
  1021.       two arguments, the second being an environment.  In particular,
  1022.       in some systems with first-class environments, there is no
  1023.       a-priori single distinguished top-level environment, and
  1024.       defaulting the environment does not fit those dialects well.
  1025.  
  1026. Not every dialect of Scheme has EVAL. Most do, but some with different
  1027. names and arguments. Jaffer's SLIB package uses LOAD as defined in
  1028. R4RS to define EVAL for those implementations that don't support EVAL
  1029. (e.g., by writing the code out to a file and then loading it).
  1030. Rozas's compromise proposal for EVAL was accepted for R5RS, but it is
  1031. unclear whether there will ever be a R5RS.
  1032.  
  1033. ----------------------------------------------------------------
  1034. Subject: [1-15] World-Wide Web (WWW) Resources
  1035.  
  1036. The World Wide Web (WWW) is a hypermedia document that spans the
  1037. Internet.  It uses the http (HyperText Transfer Protocol) for the
  1038. light-weight exchange of files over the Internet.  NCSA Mosaic is a
  1039. World Wide Web browser developed at the National Center for
  1040. Supercomputing Applications (NCSA). 
  1041.  
  1042. Mosaic's popularity derives, in part, from its ability to communicate
  1043. using more traditional Internet protocols like FTP, Gopher, WAIS, and
  1044. NNTP, in addition to http. Mosaic can display text, hypertext links,
  1045. and inlined graphics directly. When Mosaic encounters a file type it
  1046. can't handle internally, such as Postscript documents, mpeg movies,
  1047. sound files, and JPEG images, it uses an external viewer (or player)
  1048. like Ghostscript to handle the file. Mosaic also includes facilities
  1049. for exploring the Internet. In other words, Mosaic is an multimedia
  1050. interface to the Internet.
  1051.  
  1052. The hypertext documents viewed with Mosaic are written in HTML
  1053. (HyperText Markup Language), which is a subset of SGML (Standard
  1054. Generalized Markup Language).  All that is needed is just a few more
  1055. improvements, such as the ability to format tables and mathematics,
  1056. and a WYSIWYG editor, for HTML to greatly facilitate electronic
  1057. journals and other publications.
  1058.  
  1059. NCSA Mosaic for the X Window System is available by anonymous ftp from  
  1060.    ftp.ncsa.uiuc.edu:/Mosaic/
  1061. as source code and binaries for Sun, SGI, IBM RS/6000, DEC Alpha OSF/1, DEC
  1062. Ultrix, and HP-UX. Questions about NCSA Mosaic should be directed to 
  1063. mosaic-x@ncsa.uiuc.edu (X-Windows version), mosaic-mac@ncsa.uiuc.edu
  1064. (Macintosh), and mosaic-win@ncsa.uiuc.edu (Microsoft Windows).
  1065.  
  1066. A simple HTML version of the Scheme FAQ (this FAQ) is available as
  1067.    http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs/lang/scheme/top.html
  1068.  
  1069. The Scheme home page at MIT is
  1070.     http://www-swiss.ai.mit.edu/scheme-home.html
  1071. It includes a nifty little form that lets you execute small examples
  1072. of Scheme code.
  1073.  
  1074. The Scheme Undergound web page is
  1075.     http://www.ai.mit.edu/projects/su/su.html
  1076.  
  1077. ----------------------------------------------------------------
  1078. Subject: [1-16] Why is Scheme called 'Scheme'?
  1079.  
  1080. According to Steele and Gabriel's "The Evolution of Lisp" paper,
  1081. Scheme was originally called Schemer, in the tradition of the AI
  1082. languages Planner and Conniver. But the ITS operating system had a
  1083. 6-character limitation of file names, so the names were shortened to
  1084. PLNR, CNVR, and SCHEME. Eventually the truncated name Scheme stuck.
  1085.  
  1086. ----------------------------------------------------------------
  1087. ;;; *EOF*
  1088.  
  1089.